Skip to main content

View Post [edit]

Poster: skierpage Date: Aug 8, 2019 3:41pm
Forum: software Subject: confusing game names ("DOSBox SVN...CPU Speed...") in browser titles

I was playing around with some of the great games in the MS-DOS software library. When I tried to return to a game (Stunt Driver) by typing "stunt" in the Firefox location bar, "DOSBox SVN, CPU speed: 3000 cycles, Frameskip 0, Program: Foo" appeared as in the title bar, and in the tab, and in my browser history.

I think this happens because DOSBOX changes the title of its browser window. For example, initially it's "Stunt Driver : Sphere, Inc. : Free Borrow & Streaming : Internet Archive". Then when you start the game, it briefly changes the window title to "DOSBox," then it changes the window title to "DOSBox SVN, CPU speed: 3000 cycles, Frameskip 0, Program: STUNT". Then if you quit the game it changes to "DOSBox SVN, CPU speed: 3000 cycles, Frameskip 0, Program: DOSBOX."

I think it's good that the code to run DOSBox in a browser provides these details, but it would be better if it could append this information to the existing window title, or reorganize the title so the most important information is at the start, e.g.: "Program STUNT running in DOSBox (v. SVN, CPU speed: 3000 cycles, Frameskip 0)"

Reply [edit]

Poster: skierpage Date: Aug 10, 2019 2:50pm
Forum: software Subject: Re: confusing game names ('DOSBox SVN...CPU Speed...') in browser titles

It is the underlying emulator Em-DOSBox that sets the title to the nerdy
"DOSBox %s, CPU speed: %8d cycles, Frameskip %2d, Program: %8s"

I filed issue #61 against EM-DOSBox for "friendlier window title."